import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import myins from './http/http.js'
// 这里get 需要以{get}的形式写
import {get}from './http/http.js'
import API from './http/api.js'
Vue.prototype.$axios=axios
// 挂载封装的http地址
Vue.prototype.$myins=myins
Vue.prototype.$get=get
Vue.prototype.$API=API

Vue.prototype.$bus=new Vue(),
Vue.config.productionTip = false
// 过滤器
Vue.filter('formatDate',(date,formatStr)=>{
	 moment.locale('zh-cn')
	 return moment(data).format(formatStr)
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
